package com.geotmt.billingcenter.modules.designmode.rulesfactory;

import com.geotmt.billingcenter.common.vo.params.RuleVo;

/**
 * @Description 规则工厂
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/25 12:15
 * @Version     v1
 **/
public interface RulesFactory {

    /**
     * 计算消耗或成本
     * @param ruleVo
     * @return
     * @throws Exception
     */
    Double getMoney(RuleVo ruleVo) throws Exception;

}
